//
//  Shoes.m
//  OcDay1Homework
//
//  Created by dllo on 16/5/21.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "Shoes.h"

@implementation Shoes
-(void)setName:(NSString *)name{
    _name = name;
}
-(NSString *)name{
    return _name;
}
-(void)setBrand:(NSString *)brand{
    _brand = brand;
}
-(NSString *)brand{
    return _brand;
}
-(void)setSize:(NSInteger)size{
    _size = size;
}
-(NSInteger)size{
    return _size;
}
-(void)setPrice:(NSInteger)price{
    _price = price;
}
-(NSInteger)price{
    return _price;
}
-(void)myPrint{
    NSLog(@"%@ %@ %ld %ld",_name,_brand,_size,_price);
}
-(instancetype)initWithName:(NSString *)name withBrand:(NSString *)brand withSize:(NSInteger)size withPrice:(NSInteger)price{
    self = [super init];
    if(self){
        _name = name;
        _brand = brand;
        _size = size;
        _price = price;
    }
    return self;
}
@end
